package cn.huiyunche.base.service.interfaces;

import cn.huiyunche.base.service.model.SOrderTrailer;

/**
 * The interface B order trailer service.
 *
 * @FileName: cn.huiyunche.app.service.interfaces
 * @Description: 订单的板车关联信息
 * @author: Aaron
 * @date: 2016 /11/18 上午11:24
 */
public interface SOrderTrailerService {

    /**
     * Add.
     *
     * @param trailerId the trailer id
     * @param sOrderId  the s order id
     */
    void add(Integer trailerId, Long sOrderId);

    /**
     * Gets by s order id.
     *
     * @param sOrderId the s order id
     * @return the by s order id
     */
    SOrderTrailer getBySOrderId(Long sOrderId);
}
